package com.inspur.cloud.demo.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.inspur.cloud.demo.entity.User;

public interface DemoRespository extends JpaRepository<User, String> {
    @Query(value = "select t from User t where isDeleted = false")
    List<User> listUser();
}